package com.osce.go_score.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csce.domain.entity.go_score.GoScoreExExamScore;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 妇产科考试考场学生-分数Mapper接口
 *
 * @author zzx
 * @since 2024-05-18
 */
@Repository
public interface GoScoreExExamScoreMapper extends BaseMapper<GoScoreExExamScore> {

    /**
     * 查询妇产科考试考场学生-分数
     *
     * @param markId 妇产科考试考场学生-分数主键
     * @return 妇产科考试考场学生-分数
     */
    List<GoScoreExExamScore> selectGoScoreExExamScoreListByMarkId(Long markId);


    /**
     * 新增妇产科考试考场学生-分数
     *
     * @return 结果
     */
    int batchInsertGoScoreExExamScore(@Param("markId") Long id,@Param("list") List<GoScoreExExamScore> goScoreExExamScores);

    /**
     * 删除妇产科考试考场学生-分数
     *
     * @param markId 妇产科考试考场学生-分数主键
     * @return 结果
     */
    int deleteGoScoreExExamScoreByMarkId(Long markId);

    /**
     * 批量删除妇产科考试考场学生-分数
     *
     * @param markIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteGoScoreExExamScoreByMarkIds(List<Long> markIds);

    int deleteGoScoreExExamScoreByExamIds(Long...examIds);
}
